package cn.deepxi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootConfiguration//spring的配置
@ComponentScan//开启ioc自动扫描直接
@EnableAutoConfiguration//开启springboot自动配置
@MapperScan("cn.deepxi.org.mapper")
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class);
    }
}
